package com.ck.client.service;

import com.ck.client.model.vo.ProgramPlayListVO;
import com.ck.client.model.vo.ProgramVO;

import java.util.List;

/**
 * 节目服务
 *
 * @author linqiang
 * @date 2018-07-19 9:35
 */
public interface ProgramService {
    /**
     * 获取终端最新节目信息
     *
     * @param deviceCode 终端code
     * @return ProgramVO
     */
    List<ProgramVO> getNewestProgram(String deviceCode, Long currentMills);

    /**
     * 通过版本号获取节目信息
     *
     * @param downloadProgramVersion 节目版本号
     * @return ProgramVO
     */
    ProgramVO getProgramInfoByVersion(String downloadProgramVersion);

    List<ProgramPlayListVO> getNewestSourcesByDeviceCode(String deviceCode, List<String> newestProgramVersionList, String resolution);
}
